﻿using Modules.SMS.Entitys;

namespace ManagementApi.TreeParty.SMS
{
    /// <summary>
    /// 
    /// </summary>
    public interface ISMSService
    {
        ///// <summary>
        ///// 发送短信(单个手机号) 下行
        ///// </summary>
        ///// <param name="phoneNumber">手机号</param>
        ///// <param name="model"></param>
        ///// <returns></returns>
        //bool SendMessage(string phoneNumber, SmsModel model);
        ///// <summary>
        ///// 发送短信(多个手机号) 下行
        ///// </summary>
        ///// <param name="phoneNumbers"></param>
        ///// <param name="model"></param>
        ///// <returns></returns>
        //bool SendMessage(List<string> phoneNumbers, SmsModel model);

        /// <summary>
        /// 根据发送日志发送短信
        /// </summary>
        /// <param name="sendLog"></param>
        /// <returns></returns>
        bool Send(SmsSendLog sendLog);
    }
}
